package cn.itsource.org.service;

import cn.itsource.basic.domain.BaseQuery;
import cn.itsource.basic.util.PageList;
import cn.itsource.org.domain.Department;

import java.util.List;

public interface IDepartmentService {
    //基础的查询

    Department loadById(Long id);

    void save(Department department);
    void update(Department department);
    void remove(Long id);

    PageList<Department> queryData(BaseQuery query);

    List<Department> findTree();

    void batchDelete(List<Long> ids);

    List<Department> findAll();
}
